package com.shelpe.services.scheduler.item.campaign;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.batch.item.ItemProcessor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.shelpe.services.scheduler.po.Campaigns;

import com.shelpe.services.scheduler.po.Users;
import com.shelpe.services.scheduler.syncclient.CampaignClient;


@Component("rptCampaignProcessor")
public class RptCampaignProcessorImpl implements ItemProcessor<Users, Campaigns>{

	private static final Logger logger = LoggerFactory.getLogger(CampaignProcessorImpl.class);
	
	@Autowired
	private CampaignClient campClient;
	
	@Override
	public Campaigns process(Users item) throws Exception {
		// TODO Auto-generated method stub		
		long userId = item.getUserId();
		
		//campClient.syncRptCampaignsByUserId(userId);
		
		return null;
	}

}
